import { request } from '../utils/request'
import { User } from '../type/user'

export const getUser = () => {
  return request<User>({
    url: 'user/info'
  })
}
